<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>冬奥共享学习</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
		<script type="text/javascript" src="../../plugin/browerVersion/browerVersion.js"></script>
		<link rel="stylesheet" href="../../../skin/opwg/style.css" />
		<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
		<link rel="stylesheet" href="../../skin/css/normalize2.css" />
		<link rel="stylesheet" href="../../skin/fonts/iconfont.css" />
		<link rel="stylesheet" href="activityInfo.css" />
		<link rel="stylesheet" href="../../skin/css/style.css" />
		<link rel="stylesheet" type="text/css" href="../studyTalk/video5.18.4.js/css/video-js.css" />
		<script type="text/javascript" src="../../plugin/jquery/jquery-1.12.1.js"></script>
		<script type="text/javascript" src="../../plugin/bootstrap/bootstrap.min.3.3.5.js" charset="utf-8"></script>
		<script type="text/javascript" src="../../../common/klxlearning/slide.js"></script>
		<script src="../studyTalk/video5.18.4.js/js/video.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../plugin/jquery/jquery.form.min.js"></script>
	</head>

	<body class="body">
		<div class="header-warpper">
			<div class="header">
				<div class="logo">
					<div class="col-sm-2 logo-img">
					<!-- <img class="mr-10" src="../../skin/img/honeycombIco.png" />
					<img class="pt-5" src="../../skin/img/honeycombLearningIco.png" /> -->
					<img class="pt-5" src="../../skin/img/gxxxlogo1.png" />
					</div>
					<div class="col-sm-10"></div>
				</div>
				<div class="rightInfo">
					<!-- <input class="search" />
					<span class="searchIco"></span> -->
					<!-- <span class="userInfo">YC</span> -->
					<span class="menu" title="首页" onclick="javascirpt:window.location.href='../../../hivelearnweb/portal/homePage/homePage.html'"></span>
				</div>
			</div>		
		</div>
		<div class="container body-container">
			<div class="contentGroup col-sm-3">
				<div class="st-back">
					<span style="cursor:pointer;" onclick="toShareLearning()"><span class="iconfont icon-left"></span>返回上级</span>
				</div>
				<!-- <div id="groupInfo">
					
				</div> -->
				<div class="groupImg">
					<img src="../../skin/img/empty-img.png" />
					<span class="dropdown-toggle glyphicon glyphicon-cog" id="dropdownGroup" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
					</span>
					<ul class="dropdown-menu groupMenu" aria-labelledby="dropdownGroup">
						<li class="item groupupdate" onclick="updateGroup()">更新群组</li>
						<li class="item groupsetting" onclick="findGroupSetting()">设置群组</li>
						<li class="item" onclick="aboutGroup()">关于</li>
						<li class="item groupdelete" onclick="delGroup()">删除群组</li>
					</ul>
				</div>
				<div class="groupTitle">
					<span class="groupName"></span>
					<span class="groupCreateDate"></span>
				</div>
				<div class="groupTab">
					<div class="tabItem active">
						活动信息
					</div>
					<div class="tabItem" onclick="meetinglist()">
						会议主题
					</div>
					<div class="tabItem peopleview" onclick="peoplelist();">
						参与人员
					</div>
				</div>
			</div>
			<div class="col-sm-3">&nbsp;</div>
			<div class="contentList col-sm-9">
				<div class="editInfoDiv_1 postcreatepost" id="editInfoDiv">
					
				</div>
				<div id="activeInfo">
				</div>
			</div>
			<div style="clear:both;"></div>
		</div>
		<div class="footer">
			<div class="container">
				<div class="copyrightInfo">
					<span>版权©北京2022年冬奥会和冬残奥会组织委员会</span>
					<span>Beijing Organising Committee for the 2022 Olympic and Paralympic Winter Games All Rights Reserved</span>
					<span>京ICP备05014028号-2</span>
				</div>
				<div class="linkFlag">
					<a class="vendor-logo" id="vendor-weixin">
		            	<div class="erweima">
			            <span class="left-tri"></span>
				            <img src="http://mat1.gtimg.com/bj2022/winter-olympic-2022/dongaoweixin.jpg" alt="">
				        </div>
		            </a>
		            <a class="vendor-logo" id="vendor-weibo"  href="http://weibo.com/u/5980037952?refer_flag=1001030101_&amp;is_hot=1#_loginLayer_1469943377816" target="_blank">
		            </a>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="activityInfo.js"></script>
		<script type="text/javascript" src="../../plugin/hivelearncommon.js"></script>
		<script type="text/javascript" src="../meetingList/meetingEdit.js"></script>
		<script type="text/javascript" src="../../plugin/underscore/underscore-min.js"></script>
		<script type="text/template" id="replyShowTpl">
			<%if(dtoList.length==0){%>
			<%}else{%>
				<% _.each(dtoList,function(item,count){%>
					<div class="col-md-12">
					<div class="col-md-2 text-center">
						<%if(item.headPhoto && item.headPhoto != -1){%>
							<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.headPhoto%>"/>
						<%}else{%>
							<img class="st-tximg" src="../../skin/img/default_head.png" />
						<%}%>
					</div>
					<div class="col-md-9" style="padding-left: 0px;">
						<div class="st-plname"><span style="float: left;"><%=item.postUserName%></span></div>
						<div style="clear:both;"></div>
						<div class="st-pldesp"><span style="float: left;margin-top: 3px;"><%=item.postContent%></span></div>
						<div style="clear:both;"></div>
						<div id="contentBox">
								<%if(item.attachextname=="jpg"||item.attachextname=="jpeg"||item.attachextname=="png"||item.attachextname=="gif"){%>
									<!--图片-->
									<div class="st-imagebox">
									<button class="download" onclick="downloadFile('<%=item.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<img style="width: 400px;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.attachId%>"/></a>
									</div>
									<!--图片-->
								<%}else if(item.attachextname=="doc"||item.attachextname=="docx"){%>
									<!--文档-->
									<div class="st-docbox" style="height: 100px;">
									<button class="download" onclick="downloadFile('<%=item.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-docc">
											<div class="col-md-4 st-doc1-1">
											</div>
											<div class="col-md-6 st-doc2" style="width: 270px;">
												<%=item.attachname%>
											</div>
										</div>
									</div>
								<%}else if(item.attachextname=="xls"||item.attachextname=="xlsx"){%>
									<!--文档-->
									<div class="st-docbox" style="height: 100px;">
									<button class="download" onclick="downloadFile('<%=item.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-docc">
											<div class="col-md-4 st-doc1-2">
											</div>
											<div class="col-md-6 st-doc2" style="width: 270px;">
												<%=item.attachname%>
											</div>
										</div>
									</div>
								<%}else if(item.attachextname=="pdf"){%>
									<!--文档-->
									<div class="st-docbox" style="height: 100px;">
									<button class="download" onclick="downloadFile('<%=item.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-docc">
											<div class="col-md-4 st-doc1-3">
											</div>
											<div class="col-md-6 st-doc2" style="width: 270px;">
												<%=item.attachname%>
											</div>
										</div>
									</div>
								<%}%>
						</div>
						<div class="st-plicon" style="text-align:right;">
							<%if(item.isParise==2){%>
								<img src="../../skin/img/sticon10.png" style="cursor: pointer;" onclick="fabulous('<%=item.postId%>',2,1,3,'<%=activityId%>')"/>
							<%}else{%>
								<img src="../../skin/img/stpl1.png" style="cursor: pointer;" onclick="fabulous('<%=item.postId%>',2,2,3,'<%=activityId%>')"/>
							<%}%><%=item.praise%>
							<span class="cardcomment" onclick="zhanKai('<%=item.postId%>')" style="cursor: pointer;"><img src="../../skin/img/stpl2.png" style="margin-left: 30px;"/>回复</span>
						</div>
						<%if(item.children.length==0){%>
						<%}else{%>
							<% _.each(item.children,function(i,count){%>
								<div heigth="inherit" style="overflow:hidden;">
								<div class="col-md-2 text-center">
									<%if(i.headPhoto && i.headPhoto != -1){%>
										<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.headPhoto%>"/>
									<%}else{%>
										<img class="st-tximg" src="../../skin/img/default_head.png" />
									<%}%>
								</div>
								<div class="col-md-9" style="padding-left: 0px;">
									<div class="st-plname"><span style="float: left;margin-left: 20px;"><%=i.postUserName%></span></div>
									<div style="clear:both;"></div>
									<div class="st-pldesp"><span style="float: left;margin-left: 20px;margin-top: 3px;"><%=i.postContent%></span></div>
									<div style="clear:both;"></div>
									<div id="contentBox">
										<%if(i.attachextname=="jpg"||i.attachextname=="jpeg"||i.attachextname=="png"||i.attachextname=="gif"){%>
											<!--图片-->
											<div class="st-imagebox" style="margin-left: 15px;">
												<button class="download" onclick="downloadFile('<%=i.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
												<img style="width: 320px;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.attachId%>" /></a>
											</div>
											<!--图片-->
										<%}else if(i.attachextname=="doc"||i.attachextname=="docx"){%>
											<!--文档-->
											<div class="st-docbox" style="width: 320px;height: 81px;">
											<button class="download" onclick="downloadFile('<%=i.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
												<div class="row st-docc" style="width: 300px;height: 81px;">
													<div class="col-md-4 st-doc1-1" style="height: 80px;width: 80px;">
													</div>
													<div class="col-md-6 st-doc2" style="width: 210px;">
														<%=i.attachname%>
													</div>
												</div>
											</div>
										<%}else if(i.attachextname=="xls"||i.attachextname=="xlsx"){%>
											<!--文档-->
											<div class="st-docbox" style="width: 320px;height: 81px;">
											<button class="download" onclick="downloadFile('<%=i.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
												<div class="row st-docc" style="width: 300px;height: 81px;">
													<div class="col-md-4 st-doc1-2" style="height: 80px;width: 80px;">
													</div>
													<div class="col-md-6 st-doc2" style="width: 210px;">
														<%=i.attachname%>
													</div>
												</div>
											</div>
										<%}else if(i.attachextname=="pdf"){%>
											<!--文档-->
											<div class="st-docbox" style="width: 320px;height: 81px;">
											<button class="download" onclick="downloadFile('<%=i.attachId%>')" style="margin-left: 15px;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
												<div class="row st-docc" style="width: 300px;height: 81px;">
													<div class="col-md-4 st-doc1-3" style="height: 80px;width: 80px;">
													</div>
													<div class="col-md-6 st-doc2" style="width: 210px;">
														<%=i.attachname%>
													</div>
												</div>
											</div>
										<%}%>
									</div>
									<div class="st-plicon" style="margin-left: 175px;;width: 300px;">
										<%if(i.isParise==2){%>
											<img src="../../skin/img/sticon10.png" style="cursor: pointer;" onclick="fabulous('<%=i.postId%>',2,1,3,'<%=activityId%>')"/>
										<%}else{%>
											<img src="../../skin/img/stpl1.png" style="cursor: pointer;" onclick="fabulous('<%=i.postId%>',2,2,3,'<%=activityId%>')"/>
										<%}%><%=i.praise%>
										<span class="cardcomment" onclick="zhanKai('<%=item.postId%>')" style="cursor: pointer;"><img src="../../skin/img/stpl2.png" style="margin-left: 30px;"/>回复</span>
									</div>
								</div>
								<div class="col-md-1 text-center hideColumn" style="cursor:pointer;">
									<span class="glyphicon glyphicon-option-vertical dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
									<ul class="dropdown-menu" aria-labelledby="dropdownMenu4" style="margin-left: -140px;">
										<li class="postdelete <%if(i.isMyself){%>myself<%}%>">
											<a onclick="deleteCardReply('<%=i.postId%>',1,2)">删除</a>
										</li>
									</ul>
								</div>
								<div style="clear;both"></div>
								</div>
							<%})%>
						<%}%>
						<div class="postHuiFu <%=item.postId%> reCardHide">
							<div class="st-pinglun" style="height: auto;">
								<span style="float: left;"><div class="st-plnum" style="height: 70px;">
								</div></span>
								<div style="clear:both;"></div>
									<div class="st-touxiang col-sm-3" style="margin-top: -60px;margin-left: -20px;">
									<%if(loginPhoto2 && loginPhoto2 != -1){%>
										<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginPhoto2%>"/>
									<%}else{%>
										<img class="st-tximg" src="../../skin/img/default_head.png" />
									<%}%>
									</div>
									<div class="col-sm-8" style="margin-left: 80px;margin-top: -60px;width: 280px;">
										<input id="rePostInput<%=item.postId%>" type="text" class="form-control stinput" placeholder="">
									</div>
								<div contenteditable="true" class="picShowReCardView<%=item.postId%>" id="picShowReCardView<%=item.postId%>" style="margin-left: 115px;"></div>
								<div style="clear:both;"></div>
								<div class="st-scfj" style="padding-left: 95px;">
									<form id="uploadRePostForm" method="post" enctype="multipart/form-data">
						 				<input type="file" id="rePostFile" name="file" onchange ="commoncheckfile(this,'uploadRePostForm',uploadRePostFile,'.png,.jpg,.gif,.jpeg,.doc,.docx,.xls,.xlsx,.pdf',50)" style="display:none;">
						 			</form>
									<input type="hidden" id="RePostCover" name="RePostCover"/>
									<span onclick="uploadRePostBtn()" style="cursor:pointer;"><img src="../../skin/img/stfj.png" />&nbsp;&nbsp;上传附件</span>
									<span id="picShowReCardView2<%=item.postId%>" style="margin-left: 0px;font-size: 15px;"></span>
								</div>
								<div style="clear:both;"></div>
							</div>
							<div class="st-submit">
								<button type="button" class="btn btn-default submit" onclick="submitRePost('<%=item.postId%>',1,'<%=item.parentId%>')">提&nbsp;交</button>
							</div>
						</div>
					</div>
					<div class="col-md-1 text-center hideColumn" style="cursor:pointer;">
						<span class="glyphicon glyphicon-option-vertical dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
						<ul class="dropdown-menu" aria-labelledby="dropdownMenu4" style="margin-left: -140px;">
							<li class="postdelete <%if(item.isMyself){%>myself<%}%>">
								<a onclick="deleteCardReply('<%=item.postId%>',1,1)">删除</a>
							</li>
						</ul>
					</div>
					</div>
				<%})%>
			<%}%>
		</script>
		
		<!-- /.modal -->
		<!-- 复制（Modal） -->
		<div class="modal fade copyModal" id="copyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
	            	<div class="col-sm-6 left-content">
	            		<div>
	            			<h3 class="title"></h3>
	            		</div>
	            		<div class="topicInfo">
	            			<div class="topicImg"></div>
	            			<div class="titleDiv">
	            				<span class="topicTitle"></span>
	            				<span class="glyphicon glyphicon-pencil updateTitleBtn" title="修改标题" onclick="toUpdateTitle(this)"></span>
	            			</div>
	            		</div>
	            	</div>
	            	<div class="col-sm-6 right-content">
	            		<div class="right-content-list">
		            		<div class="right-top col-sm-12">你想复制到哪里?</div>
		            		<div class="right-search col-sm-12">
		            			<div class="right-search-input">
			            			<input type="text" id="copyQueryName"/><span class="glyphicon glyphicon-search input-search"></span>
		            			</div>
		            		</div>
		            		<div class="right-list col-sm-12">
		            			<ul class="list" id="grouplist">
							    </ul>
		            		</div>
		            		<div class="modal-footer">
		            			<div class="cancel">
		                			<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		            			</div>
		            		</div>
		            	</div>
		            	<div style="clear:both;"></div>
		            	<div class="right-content-edit">
		            		<div class="right-top col-sm-12">你想复制到哪里?</div>
		            		<div style="clear:both;"></div>
		            		<div class="updateTopic">
			            		<label class="topic-title">修改主题标题</label>
			            		<div class="updateTitle">
			            			<input id="updateTopicTitle" maxlength="40"/>
			            		</div>
			            		<div class="error-msg"></div>
		            		</div>
		            		<div class="modal-footer">
		            			<div class="share-btn">
		            				<span class="glyphicon glyphicon-menu-left arrow"></span>
		            				<button type="button" class="btn btn-primary confirm" onclick="saveShareTopic()">分享</button>
		            			</div>
		            		</div>	
		            	</div>
	            	</div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		
		<!-- 提示框 -->
		<div class="modal fade" id="msgModal" style="z-index:1060" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg"></div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-primary confirm" data-dismiss="modal">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		
		<!-- 模态框（Modal）帖子 -->
		<div class="modal fade" id="postViewModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="overflow-y: hidden !important;">
		    <div class="modal-dialog" id="postView">
				
		    </div>
		</div>
		<script type="text/template" id="postViewTpl">
			<div class="modal-content">
    			<div class="modal-body" style="height: 50px;">
					<span class="closeModel" data-dismiss="modal" style="float: right;cursor:pointer;">X</span>
				</div>
    			<div class="modal-footer viewShow postViewShow" style="overflow-y: auto;overflow-x: hidden;text-align:left;">
    				<div>
						<div class="" style="margin-top: 0px;position: relative;">
							<div class="editUserName">
								<%if(headPhoto != -1){%>
									<img class="viewImg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=headPhoto%>"/>
								<%}else{%>
									<img class="viewImg" src="../../skin/img/default_head.png" />
								<%}%>
							</div>
							<div class="userInfo" style="height:50px;">
								<span style="float: left;margin-left: 20px;"><%=createName%></span>
								<span class="cardType" style="float: left;margin-top: 1px;">&emsp;
									<%if(createType==1){%>
											创建帖子
									<%}else if(createType==2){%>
											分享帖子
									<%}else if(createType==3){%>
											复制帖子
									<%}%>
								</span></br>
								<span class="cardDate" style="float: left;margin-top: 10px; margin-left: -115px;"><%=createDateStr%></span>
								<div class="col-md-1 st-doc3 text-right dropdown hideColumn" style="cursor: pointer;margin-left: 540px;margin-top: -15px;">
									<span class="glyphicon glyphicon-option-vertical dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
									<ul class="dropdown-menu" aria-labelledby="dropdownMenu4" style="margin-left: -140px;cursor:pointer;">
										<li class="topicedit ulbtn">
											<span style="padding-right:0;" class="glyphicon glyphicon-edit ulbtn" onclick="yesEditPost()">&nbsp;&nbsp;编辑</span>
										</li>
										<li class="topicsave ulbtn" onclick="copyPost('<%=activityId%>')">
											<span style="padding-right:0;" class="glyphicon glyphicon-floppy-disk ulbtn">&nbsp;&nbsp;复制</span>
										</li>
										<li class="postdelete ulbtn" onclick="deletePost('<%=activityId%>',2)">
											<span style="padding-right:0;" class="glyphicon glyphicon-trash ulbtn">&nbsp;&nbsp;删除</span>
										</li>
									</ul>
								</div>
							</div>
							<div style="clear: both;"></div>
							<div id="noEditPost" class="cardDes" style="height:auto !important;min-height:50px;">
								<span style="float:left;"><%=activityContent%></span>
								<div style="clear:both;"></div>
							</div>

							<div id="editPost">
								<div contenteditable="true" class="editPosts" id="editPosts" style="margin-left: 8px;width: 548px;margin-top: 10px;"><%=activityContent%></div>
								<div style="clear: both;"></div>
								<div class="btnArea" style="margin-left: 90px;margin-bottom: 10px;">
									<span class="cancelBtn disabled" onclick="noEditPost()">取消</span>
									<span class="postBtn disabled" onclick="editPost('<%=activityId%>')">确定</span>
								</div>
							</div>

							<div id="contentBox">
								<%if(attachId!=null && attachId != ""){%>
								<%if(attachextname=="jpg"||attachextname=="jpeg"||attachextname=="png"||attachextname=="gif"){%>
									<!--图片-->
									<div class="st-imagebox">
									<button class="download" onclick="downloadFile('<%=attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<img style="width: 560px;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=attachId%>"/></a>
									</div>
								<%}else if(attachextname=="doc"||attachextname=="docx"){%>
									<!--文档-->
									<div class="st-docbox" style="height: 141px;">
									<button class="download" onclick="downloadFile('<%=attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-doc11">
											<div class="col-md-4 st-doc1-1">
											</div>
											<div class="col-md-7 st-doc2">
												<%=attachname%>
											</div>
										</div>
									</div>
								<%}else if(attachextname=="xls"||attachextname=="xlsx"){%>
									<!--文档-->
									<div class="st-docbox" style="height: 141px;">
									<button class="download" onclick="downloadFile('<%=attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-doc11">
											<div class="col-md-4 st-doc1-2">
											</div>
											<div class="col-md-7 st-doc2">
												<%=attachname%>
											</div>
										</div>
									</div>
								<%}else if(attachextname=="pdf"){%>
									<!--文档-->
									<div class="st-docbox" style="height: 141px;">
									<button class="download" onclick="downloadFile('<%=attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-doc11">
											<div class="col-md-4 st-doc1-3">
											</div>
											<div class="col-md-7 st-doc2">
												<%=attachname%>
											</div>
										</div>
									</div>
								<%}%>
								<%}%>
							</div>
							<div class="commentArea">
								<%if(isPraise==2){%>
									<span class="glyphicon glyphicon-thumbs-up" onclick="fabulous('<%=activityId%>',2,1,1)">&nbsp;点赞</span>
								<%}else{%>
									<span class="glyphicon glyphicon-thumbs-down" onclick="fabulous('<%=activityId%>',2,2,1)">&nbsp;取消点赞</span>
								<%}%>
								<span class="glyphicon glyphicon-comment">&nbsp;评论(<%=replyNum%>)</span>
								<span></span>
							</div>
							<div style="clear:both;"></div>
							<div class="st-pinglun postcomment" style="width: 550px; margin-left: 5px;">
								<span style="float: left;"><div class="st-plnum" style="height: 70px;">
									
								</div></span>
								<div style="clear:both;"></div>
								<div class="st-input" style=" margin-top: -45px;">
									<div class="st-touxiang col-sm-3" style="margin-left: -30px;">
										<%if(loginPhoto2 != -1){%>
											<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginPhoto2%>"/>
										<%}else{%>
											<img class="st-tximg" src="../../skin/img/default_head.png" />
										<%}%>
									</div>
									<div class="col-sm-9">
										<input id="st-postLiuyan" type="text" class="form-control stinput" placeholder="">
									</div>
									<div contenteditable="true" class="picShowPostView" id="picShowPostView" style="margin-left: 115px;"></div>
									<div style="clear:both;"></div>
								</div>
									<div style="clear:both;"></div>
								<div class="st-scfj">
									<form id="uploadPostShowForm" method="post" enctype="multipart/form-data">
										<input type="file" id="postShowFile" name="file" onchange ="commoncheckfile(this,'uploadPostShowForm',uploadPostShowFile,'.png,.jpg,.gif,.jpeg,.doc,.docx,.xls,.xlsx,.pdf',50)" style="display:none;">
									</form>
									<input type="hidden" id="postShowCover" name="postShowCover"/>
									<span onclick="uploadShowPostBtn()" id="shangChuanC" style="cursor:pointer;"><img src="../../skin/img/stfj.png" />&nbsp;&nbsp;上传附件</span>
									<span id="uploadPostShowView" style="margin-left: 120px;font-size: 15px;"></span>
								</div>
							</div>
							<div style="clear:both;"></div>
							<div class="st-submit postcomment" style="height: 20px;">
								<button type="button" class="btn btn-default submit" onclick="submitPostReply('<%=activityId%>',2)">提&nbsp;交</button>
							</div>
							<div class="commentListArea" style="    height: inherit;">
								<%if(dtoList.length>0){%>
									<% _.each(dtoList,function(i,c){%>
										<div class="col-md-2 text-center">
											<%if(i.headPhoto != -1){%>
												<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.headPhoto%>"/>
											<%}else{%>
												<img class="st-tximg" src="../../skin/img/default_head.png" />
											<%}%>
										</div>
										<div class="col-md-9" style="padding-left: 0px;">
											<div heigth="inherit" style="overflow:hidden;">
												<div class="st-plname"><span style="float: left; height: 20px;margin-top: -20px;"><%=i.postUserName%></span></div>
												<div style="clear:both;"></div>
												<div class="st-pldesp"><span style="float: left;margin-top: 5px;line-height: 20px;text-align: left;"><%=i.postContent%></span></div>
												<div style="clear:both;"></div>
												<div>
													<%if(i.attachextname=="jpg"||i.attachextname=="png"||i.attachextname=="gif"||i.attachextname=="jpeg"){%>
														<div class="st-docbox">
															<button class="download" style="height: 22px;line-height: 11px;" onclick="downloadFile('<%=i.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
															<img style="width:397px;margin-left: -15px;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.attachId%>">
														</div>
													<%}else if(i.attachextname=="doc"||i.attachextname=="docx"){%>
														<div class="st-docbox" style="height: 80px;">
															<button class="download" style="height: 22px;line-height: 11px;" onclick="downloadFile('<%=i.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
															<div class="row st-doc"style="width: 397px; margin-left: 0px;">
																<div class="col-md-4 st-doc1-1">
																</div>
																<div class="col-md-7 st-docpp2" style="text-align: left;">
																	<%=i.attachname%>
																</div>
															</div>
														</div>
													<%}else if(i.attachextname=="xls"||i.attachextname=="xlsx"){%>
														<div class="st-docbox" style="height: 80px;">
															<button class="download" style="height: 22px;line-height: 11px;" onclick="downloadFile('<%=i.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
															<div class="row st-doc"style="width: 397px; margin-left: 0px;">
																<div class="col-md-4 st-doc1-2">
																</div>
																<div class="col-md-7 st-docpp2" style="text-align: left;">
																	<%=i.attachname%>
																</div>
															</div>
														</div>
													<%}else if(i.attachextname=="pdf"){%>
														<div class="st-docbox" style="height: 80px;">
															<button class="download" style="height: 22px;line-height: 11px;" onclick="downloadFile('<%=i.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
															<div class="row st-doc"style="width: 397px; margin-left: 0px;">
																<div class="col-md-4 st-doc1-3">
																</div>
																<div class="col-md-7 st-docpp2" style="text-align: left;">
																	<%=i.attachname%>
																</div>
															</div>
														</div>
													<%}%>
												</div>
												<div class="st-plicon" style="    float: right;">
													<%if(i.isParise==2){%>
														<img src="../../skin/img/sticon10.png" style="cursor: pointer;" onclick="fabulous('<%=i.postId%>',2,1,1,'<%=activityId%>',2)"/>
													<%}else{%>
														<img src="../../skin/img/stpl1.png" style="cursor: pointer;" onclick="fabulous('<%=i.postId%>',2,2,1,'<%=activityId%>',2)"/>
													<%}%><%=i.praise%>
													<span class="cardcomment" onclick="zhanKai('<%=i.postId%>')" style="cursor: pointer;"><img src="../../skin/img/stpl2.png" style="margin-left: 30px;"/>回复</span>
												</div>
											</div>
											<%if(i.children.length==0){%>
											<%}else{%>
												<% _.each(i.children,function(it,count){%>
													<div heigth="inherit" style="overflow:hidden;">
													<div class="col-md-2 text-center">
														<%if(it.headPhoto != -1){%>
															<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=it.headPhoto%>"/>
														<%}else{%>
															<img class="st-tximg" src="../../skin/img/default_head.png" />
														<%}%>
													</div>
													<div class="col-md-9" style="padding-left: 0px;">
														<div class="st-plname"><span style="float: left;margin-left: 20px;height: 20px; margin-top: -17px;"><%=it.postUserName%></span></div>
														<div style="clear:both;"></div>
														<div class="st-pldesp"><span style="float:left;text-align: left;margin-left: 20px;margin-top: 5px;line-height: 20px;"><%=it.postContent%></span></div>
													<div style="clear:both;"></div>
													<div id="contentBox">
														<%if(it.attachextname=="jpg"||it.attachextname=="jpeg"||it.attachextname=="png"||it.attachextname=="gif"){%>
															<!--图片-->
															<div class="st-imagebox">
																<button class="download" style="height: 22px;line-height: 11px;" onclick="downloadFile('<%=it.attachId%>')"><span class="glyphicon glyphicon-download-alt">下载</span></button>
																<img style="width: 320px;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=it.attachId%>" /></a>
															</div>
															<!--图片-->
														<%}else if(it.attachextname=="doc"||it.attachextname=="docx"){%>
															<!--文档-->
															<div class="st-docbox" style="width: 310px;height: 81px;">
															<button class="download" style="height: 22px;line-height: 11px;margin-left: 15px;" onclick="downloadFile('<%=it.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
																<div class="row st-docc" style="width: 310px;height: 81px;">
																	<div class="col-md-4 st-doc1-1" style="height: 80px;width: 80px;">
																	</div>
																	<div class="col-md-6 st-doc2" style="width: 225px;line-height: 25px;">
																		<%=it.attachname%>
																	</div>
																</div>
															</div>
														<%}else if(it.attachextname=="xls"||it.attachextname=="xlsx"){%>
															<!--文档-->
															<div class="st-docbox" style="width: 310px;height: 81px;">
															<button class="download" style="height: 22px;line-height: 11px;margin-left: 15px;" onclick="downloadFile('<%=it.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
																<div class="row st-docc" style="width: 310px;height: 81px;">
																	<div class="col-md-4 st-doc1-2" style="height: 80px;width: 80px;">
																	</div>
																	<div class="col-md-6 st-doc2" style="width: 225px;line-height: 25px;">
																		<%=it.attachname%>
																	</div>
																</div>
															</div>
														<%}else if(it.attachextname=="pdf"){%>
															<!--文档-->
															<div class="st-docbox" style="width: 310px;height: 81px;">
															<button class="download" style="height: 22px;line-height: 11px;margin-left: 15px;" onclick="downloadFile('<%=it.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
																<div class="row st-docc" style="width: 310px;height: 81px;">
																	<div class="col-md-4 st-doc1-3" style="height: 80px;width: 80px;">
																	</div>
																	<div class="col-md-6 st-doc2" style="width: 225px;line-height: 25px;">
																		<%=it.attachname%>
																	</div>
																</div>
															</div>
														<%}%>
													</div>
														<div class="st-plicon" style="margin-top: 40px; margin-left: 175px;width: 155px;text-align:right;">
															<%if(it.isParise==2){%>
																<img src="../../skin/img/sticon10.png" style="cursor: pointer;" onclick="fabulous('<%=it.postId%>',2,1,1,'<%=activityId%>',2)"/>
															<%}else{%>
																<img src="../../skin/img/stpl1.png" style="cursor: pointer;" onclick="fabulous('<%=it.postId%>',2,2,1,'<%=activityId%>',2)"/>
															<%}%><%=it.praise%>
															<span class="cardcomment" onclick="zhanKai('<%=i.postId%>')" style="cursor: pointer;"><img src="../../skin/img/stpl2.png" style="margin-left: 30px;"/>回复</span>
														</div>
													</div>
													<div class="col-md-1 text-center hideColumn" style="cursor:pointer;">
														<span class="glyphicon glyphicon-option-vertical dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
														<ul class="dropdown-menu" aria-labelledby="dropdownMenu4" style="margin-left: -140px;">
															<li class="postdelete <%if(it.isMyself){%>myself<%}%>">
																<a onclick="deletePostReply('<%=it.postId%>',2,2)">删除</a>
															</li>
														</ul>
													</div>
													<div style="clear;both"></div>
													</div>
												<%})%>
											<%}%>
											<div class="postReHuiFu <%=i.postId%> reCardHide">
												<div class="st-pinglun" style="min-height: 110px;">
													<span style="float: left;"><div class="st-plnum" style="height: 70px;">
													</div></span>
													<div style="clear:both;"></div>
														<div class="st-touxiang col-sm-3" style="margin-top: -60px;margin-left: -20px;">
														<%if(loginPhoto2 != -1){%>
															<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginPhoto2%>"/>
														<%}else{%>
															<img class="st-tximg" src="../../skin/img/default_head.png" />
														<%}%>
														</div>
														<div class="col-sm-8" style="margin-left: 80px;margin-top: -60px;width: 280px;">
															<input id="postRePostInput<%=i.postId%>" type="text" class="form-control stinput" placeholder="">
														</div>
													<div contenteditable="true" class="picShowRePostView<%=i.postId%>" id="picShowRePostView<%=i.postId%>" style="display: none;"></div>
													<div style="clear:both;"></div>
													<div class="st-scfj" style="padding-left: 90px;">
														<form id="uploadPostRePostForm" method="post" enctype="multipart/form-data">
											 				<input type="file" id="postRePostFile" name="file" onchange ="commoncheckfile(this,'uploadPostRePostForm',uploadPostRePostFile,'.png,.jpg,.gif,.jpeg,.doc,.docx,.xls,.xlsx,.pdf',50)" style="display:none;">
											 			</form>
														<input type="hidden" id="postRePostCover" name="postRePostCover"/>
														<span id="shangChuanD" onclick="uploadPostRePostBtn()" style="cursor:pointer;"><img src="../../skin/img/stfj.png" />&nbsp;&nbsp;上传附件</span>
														<span id="uploadRePostShowView<%=i.postId%>" style="margin-left: 10px;font-size: 15px;"></span>
													</div>
												</div>
												<div class="st-submit">
													<button style="margin-top: 20px;" type="button" class="btn btn-default submit" onclick="submitPostRePost('<%=i.postId%>',2,'<%=i.parentId%>')">提&nbsp;交</button>
												</div>
											</div>
										</div>
										<div class="col-md-1 text-center hideColumn" style="cursor:pointer;">
											<span class="glyphicon glyphicon-option-vertical dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
											<ul class="dropdown-menu" aria-labelledby="dropdownMenu4" style="margin-left: -140px;">
												<li class="postdelete <%if(i.isMyself){%>myself<%}%>">
													<a onclick="deletePostReply('<%=i.postId%>',2,1,'<%=activityId%>')">删除</a>
												</li>
											</ul>
										</div>
										<div style="clear;both"></div>
									<%})%>
								<%}%>
							</div>
						</div>
					</div>
    			</div>
			</div>
		</script>
		
		<!-- 模态框（Modal）主题 -->
		<div class="modal fade" id="topicViewModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="overflow-y: hidden !important;">
		    <div class="modal-dialog" id="topicView">
				
		    </div>
		</div>
		<script type="text/template" id="topicViewTpl">
			<div class="modal-content">
    			<div class="modal-body" style="height: 50px;">
					<span class="closeModel" data-dismiss="modal" style="float: right;cursor:pointer;">X</span>
				</div>
    			<div class="modal-footer viewShow topicViewShow" style="overflow-y: auto;overflow-x: hidden;text-align:left;">
    				<div>
						<!--多张图片，无评论-->
						<div class="editInfoDiv_2" href="#" style="cursor:pointer;" style="margin-top: 0px;" onclick="toTopicDetails('<%=activityId%>')">
							<div class="editUserName">
								<%if(headPhoto){%>
									<img class="viewImg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=headPhoto%>"/>
								<%}else{%>
									<img class="viewImg" src="../../skin/img/default_head.png" />
								<%}%>
							</div>
							<div class="userInfo" style="height:50px;">
								<span style="float: left;"><%=createName%></span>
								<span class="cardType" style="float: left;margin-top: 1px;">
									<%if(createType==1){%>
											&emsp;创建主题
									<%}else if(createType==2){%>
											&emsp;分享主题
									<%}else if(createType==3){%>
											&emsp;复制主题
									<%}%>
								</span></br>
								<span class="cardDate" style="float: left;margin-left: -127px;margin-top: 10px;"><%=createDateStr%></span>
							</div>
							<div style="clear: both;"></div>
							<div class="cardImg">
								<div class="col-sm-8 bigImg">
									<%if(topicCover){%>
										<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=topicCover%>"/>
									<%}else{%>
										<img src="../../skin/img/empty-img.png" />
									<%}%>
								</div>
								<div class="col-sm-4 smImg">
									<% _.each(cardList,function(it,c){%>
										<%if(c<2&&c>=0){%>
											<%if(it.cardCover){%>
												<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=it.cardCover%>"/>
											<%}else{%>
												<img src="../../skin/img/empty-img.png" />
											<%}%>
										<%}%>
									<%})%>
									
								</div>
								<div class="col-sm-12 description">
									<span class="title" style="float: left;"><%=activityContent%></span></br>
									<span class="num" style="float: left;"></span>
								</div>
							</div>
						</div>
						<%if(cardList.length==0){%>
						<%}else{%>
							<div class="tab-content">
								<div role="tabpanel" class="tab-pane active" id="home">
									<ul class="card-list">
										<% _.each(cardList,function(item,count){%>
											<li class="card-item dropdown" onclick="cardView('<%=item.cardId%>','<%=activityId%>')" style="margin-left: 27px;">
												<div class="card-thumb card-first" <%if(item.cardColor){%>style="border-left:5px solid <%=item.cardColor%>"<%}%>>
													<%if(item.cardCover){%>
														<img class="thumb-image" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.cardCover%>"/>
													<%}else{%>
														<img class="thumb-image" src="../../skin/img/empty-img.png">
													<%}%>	
												</div>
												<div class="card-sequence card-first" <%if(item.cardColor){%>style="background-color:<%=item.cardColor%>"<%}%>><%=item.orderNum%></div>
												<span class="card-title" title="<%=item.cardTitle%>" style="float: left;"><%=item.cTitle%></span>
												<!-- <span class="card-icon glyphicon glyphicon-option-vertical" class="dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
												<ul class="dropdown-menu card-itemlist" aria-labelledby="dropdownMenu4" style="    margin-left: 230px;">
													<li>
														<a href="#"><span class="glyphicon glyphicon-edit"></span>&nbsp;&nbsp;编辑</a>
													</li>
													<li>
														<a href="#"><span class="glyphicon glyphicon-floppy-disk"></span>&nbsp;&nbsp;保存</a>
													</li>
													<li>
														<a href="#"><span class="glyphicon glyphicon-share"></span>&nbsp;&nbsp;分享</a>
													</li>
													<li>
														<a href="#"><span class="glyphicon glyphicon-move"></span>&nbsp;&nbsp;移动</a>
													</li>
														<li role="separator" class="divider"></li>
													<li>
														<a onclick="deleteCard('<%=item.cardCover%>','<%=activityId%>')"><span class="glyphicon glyphicon-trash"></span>&nbsp;&nbsp;删除</a>
													</li>
												</ul>-->
											</li>
										<%})%>
									</ul>
								</div>
							</div>
						<%}%>
					</div>
    			</div>
			</div>
		</script>
		
		
		<!-- /.modal -->
		<!-- 模态框（Modal）卡片 -->
		<div class="modal fade" id="cardViewModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="overflow-y: hidden !important;">
		    <div class="modal-dialog" id="cardView">
		    
		    </div>
		</div>
		<!-- /.modal -->
		<script type="text/template" id="cardViewTpl">
				<div class="modal-content">
		            <div class="modal-body" style="height: 50px;">
						<span class="closeModel" data-dismiss="modal" style="float: right;cursor:pointer;">X</span>
					</div>
		            <div class="modal-footer viewShow cardViewShow" style="overflow-y: auto;overflow-x: hidden; text-align:left;">
		            	<div>
							<div class="st-title" style="float: left;">
								<span style="float: left;">会议概况介绍</span>
							</div>
							<div class="st-auti" style="height: 35px;">
								<span class="st-author" style="float: left;">刘犇昊</span>&nbsp;&nbsp;&nbsp;<span style="float: left;" class="st-time">2017.05.31</span>
							</div>
							<div class="st-xx st-xy">
								<div class="st-xt">
									<%if(isPrise==2){%>
										<div onclick="fabulous('<%=queryCardId%>',1,1,2)"  style="cursor: pointer;">
											<img class="dianzan" style="height: 53px;width: 53px;" src="../../skin/img/sticonright1.png" />
											<div class="st-xtext" style="padding-top: 2px;">点赞</div>
										</div>
									<%}else{%>
										<div onclick="fabulous('<%=queryCardId%>',1,2,2)" style="cursor: pointer;">
											<img class="dianzan" style="height: 53px;width: 53px;" src="../../skin/img/sticonright11.png" />
											<div class="st-xtext" style="padding-top: 2px;">取消</div>
										</div>
									<%}%>
								</div>
								<div class="st-xt cardcomment"  style="cursor: pointer;">
									<a id="st-liuyanicon" onclick="liuYan()">
										<img src="../../skin/img/sticonright22.png" />
										<div class="st-xtext">留言</div>
									</a>
								</div>
								<div class="st-xt cardedit">
									<span style="cursor:pointer;" onclick="updateCard('<%=queryCardId%>')">
										<img src="../../skin/img/sticonright33.png" />
										<div class="st-xtext">编辑</div>
									</span>
								</div>
								<div class="st-xt" style="position:relative;">
									<div class="dropdown-toggle hideColumn" id="dropdownMenu2" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
										<img src="../../skin/img/sticonright4.png" />
										<div class="st-xtext">更多</div>
									</div>
									<ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
										<li class="cardsave">
											<span onclick="copyCard('<%=queryCardId%>')">复制</span>
										</li>
										<li role="separator" class="divider"></li>
										<li class="groupmove">
											<span onclick="moveOneCard('<%=queryCardId%>')">移动</span>
										</li>
										<li role="separator" class="divider"></li>
										<li class="groupdelete">
											<span onclick="deleteOneCard('<%=queryCardId%>')">删除</span>
										</li>
									</ul>
								</div>
								<div class="st-view st-ve" style="float: right;line-height: 117px;">
									<img class="st-zan" src="../../skin/img/sticon10.png" />
									<span class="st-zan">1</span>
									<span class="">&nbsp;&nbsp;&nbsp;&nbsp;</span>
									<img src="../../skin/img/sticon2.png" />
									<span class="cardDzNum">8</span>
									<span class="">&nbsp;&nbsp;&nbsp;&nbsp;</span>
									<img src="../../skin/img/sticon11.png" />
									<span class="cardFwNum">825</span>
								</div>
							</div>
							<div id="contentBox" style="padding:0 30px;">
								<% _.each(resultList,function(item,count){%>
									<%if(item.attachId!=null&&item.attachId!=""){%>
										<%if(item.attachExtName=="jpg"||item.attachExtName=="jpeg"||item.attachExtName=="png"||item.attachExtName=="gif"){%>
											<!--图片-->
											<div class="st-imagebox">
											<button class="download" onclick="downloadFile('<%=item.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
												<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.attachId%>"/></a>
											</div>
										<%}else if(item.playUrl){%>
											<div class="st-videobox">
											<button class="download" onclick="window.location.href='/portal/resource/downloadCurrentResource?resourceId=<%=item.attachId%>';window.event.returnValue=false;"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
												<video id="my-video-<%=item.cardTextId%>" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width="500px" height="375px" poster="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.flashImgId%>" data-setup="{}">
												<source src="<%=startUrl%><%=item.playUrl%>" type="video/mp4">
												</video>
											</div>
										<%}else if(item.attachList&&item.attachList.length>0){%>
										<!--文档-->
										<div class="st-docbox">
										<button class="download" onclick="downloadFile('<%=item.attachId%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button>
										<div class="row st-doc">
											<!--<div class="col-md-4 st-doc1">
											</div>
											<div class="col-md-7 st-doc2">
												<%=item.attachExtName%>
											</div>-->
											<div class="ck-slide <%if(item.attachExtName=='ppt'||item.attachExtName=='pptx'){%>ppt<%}%>" style="margin:0 auto;overflow: hidden;">
												<ul class="ck-slide-wrapper">
												<%_.each(item.attachList,function(i){%>
													<li <%if(i!=0){%>style="display:none;"<%}%>>
														<img style="cursor:default;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.attachid%>">
													</li>
												<%})%>
												</ul>
												<a href="javascript:;" class="ctrl-slide ck-prev">&emsp;</a> <a href="javascript:;" class="ctrl-slide ck-next">&emsp;</a>
												<div class="ck-slidebox">
													<div class="slideWrap">
														<span class="imgPage" ></span>
													</div>
												</div>
											</div>
										</div>
											<!--<div class="col-md-1 st-doc3 text-right dropdown">
												<span class="glyphicon glyphicon-option-vertical dropdown-toggle" id="dropdownMenu4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
												<ul class="dropdown-menu" aria-labelledby="dropdownMenu4">
													<li>
														<a href="#">选项一</a>
													</li>
													<li>
														<a href="#">选项二</a>
													</li>
												</ul>
											</div>-->
									</div>
									<%}%>
									<%}else{%>
										<!--文字-->
										<div style="clear:both;"></div>
										<div class="st-textbox" style=""><%=item.content%></div>
									<%}%>
								<%})%>
							</div>
							<!--关键点-->
							<!--<div class="st-gjd">-->
							<!--	<span><img src="../../skin/img/editgjd.png" />关键点</span> <span class="st-gjdnum">0</span>-->
							<!--	<div class="st-xzgjd">-->
							<!--		＋新增关键点-->
							<!--	</div>-->
							<!--</div>-->
							<!--评论-->
							<div>
								<div style="clear:both;"></div>
								<div class="st-pinglunc" id="liuYan">
									<span style="float: left;">
										<div class="st-plnum" style="height: 70px;">
									
										</div>
									</span>
									<div style="clear:both;"></div>
									<div class="st-input cardcomment">
										<div class="st-touxiang col-sm-3">
										<%if(loginPhoto3 && loginPhoto3 != -1){%>
											<img class="st-tximg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginPhoto3%>"/>
										<%}else{%>
											<img class="st-tximg" src="../../skin/img/default_head.png" />
										<%}%>
										</div>
										<div class="col-sm-9">
											<input id="st-liuyan" type="text" class="form-control stinput" placeholder="">
										</div>
									</div>
									<div contenteditable="true" class="picCardView" id="picCardView" style="    margin-left: 125px;"></div>
									<div style="clear:both;"></div>
									<div class="st-scfj cardcomment">
										<form id="uploadForm" method="post" enctype="multipart/form-data">
						 					<input type="file" id="file" name="file" onchange ="commoncheckfile(this,'uploadForm',uploadFile,'.png,.jpg,.gif,.jpeg,.doc,.docx,.xls,.xlsx,.pdf',50)" style="display:none;">
						 				</form>
										<input type="hidden" id="topicCover" name="topicCover"/>
										<span id="shangChuanE" onclick="uploadBtn()" style="cursor:pointer;"><img src="../../skin/img/stfj.png" />&nbsp;&nbsp;上传附件</span>
										<span id="picCardView2" style="margin-left: 140px;font-size: 15px;"></span>
									</div>
								</div>
								<div style="clear:both;"></div>
								<div class="st-submit cardcomment">
									<button type="button" class="btn btn-default submit" onclick="submitReply('<%=queryCardId%>',1)">提&nbsp;交</button>
								</div>
							</div>
							<div class="row st-pllist" id="replyShow">
									
							</div>
						</div>
		            </div>
		        </div>
		</script>
		
		<script type="text/template" id="activeInfoTpl">
			<% _.each(resultList,function(item,count){%>
				<%if(item.activityType==1){%>
					<!--多张图片，无评论-->
					<div class="editInfoDiv_2" onclick="showTopicInfo('<%=item.activityId%>')" style="cursor:pointer;">
						<div class="topCls" <%if(item.isTop!=2){%>style="display:none;"<%}%>><span class="glyphicon glyphicon-pushpin ulbtn"></span>置顶</div>
						<div class="editUserName">
							<%if(item.headPhoto){%>
								<img class="viewImg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.headPhoto%>"/>
							<%}else{%>
								<img class="viewImg" src="../../skin/img/default_head.png" />
							<%}%>
						</div>
						<div class="userInfo">
							<span><%=item.createName%></span>
							<span class="cardType">
								<%if(item.createType==1){%>
										创建主题
								<%}else if(item.createType==2){%>
										分享主题
								<%}else if(item.createType==3){%>
										复制主题
								<%}%>
							</span>
							<span class="cardDate"><%=item.createDateStr%></span>
							<div class="st-xt dropdown ulbtn" style="display: inline-block;">
								<div class="glyphicon glyphicon-option-vertical menu dropdown-toggle ulbtn hideColumn" id="dropdownMenu3" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></div>
								<ul class="dropdown-menu st-more-ul ulbtn" aria-labelledby="dropdownMenu3">
									<li class="posttop ulbtn" <%if(item.isTop==2){%>onclick="toTop('<%=item.activityId%>',1);"<%}else{%>onclick="toTop('<%=item.activityId%>',2);"<%}%>>
										<span style="padding-right:0;" class="glyphicon glyphicon-pushpin ulbtn"></span>&nbsp;&nbsp;<%if(item.isTop==2){%>取消<%}%>置顶
									</li>
								</ul>
							</div>
						</div>
						<div style="clear: both;"></div>
						<div class="cardImg">
							<div class="col-sm-8 bigImg">
								<%if(item.topicCover){%>
									<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.topicCover%>"/>
								<%}else{%>
									<img src="../../skin/img/empty-img.png" />
								<%}%>
							</div>
							<div class="col-sm-4 smImg">
								<% _.each(item.cardList,function(it,c){%>
									<%if(c<2&&c>=0){%>
										<%if(it.cardCover){%>
											<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=it.cardCover%>"/>
										<%}else{%>
											<img src="../../skin/img/empty-img.png" />
										<%}%>
									<%}%>
								<%})%>
								
							</div>
							<div class="col-sm-12 description">
								<span class="title"><%=item.activityContent%></span>
								<span class="num"><%=item.cardList.length%> Card</span>
							</div>
						</div>
					</div>
				<%}else if(item.activityType==2){%>
					<div class="editInfoDiv_2">
						<div class="topCls" <%if(item.isTop!=2){%>style="display:none;"<%}%>><span class="glyphicon glyphicon-pushpin ulbtn"></span>置顶</div>
						<div onclick="showCardInfo('<%=item.activityId%>')" style="cursor:pointer;">
						<div class="editUserName">
							<%if(item.headPhoto){%>
								<img class="viewImg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.headPhoto%>"/>
							<%}else{%>
								<img class="viewImg" src="../../skin/img/default_head.png" />
							<%}%>
						</div>
						<div class="userInfo">
							<span><%=item.createName%></span>
							<span class="cardType">
								<%if(item.createType==1){%>
										创建卡片
								<%}else if(item.createType==2){%>
										分享卡片
								<%}else if(item.createType==3){%>
										复制卡片
								<%}%>
							</span>
							<span class="cardDate"><%=item.createDateStr%></span>
							<div class="st-xt dropdown ulbtn" style="display: inline-block;">
								<div class="glyphicon glyphicon-option-vertical menu dropdown-toggle ulbtn hideColumn" id="dropdownMenu2" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></div>
								<ul class="dropdown-menu st-more-ul ulbtn" aria-labelledby="dropdownMenu2">
									<li class="posttop ulbtn" <%if(item.isTop==2){%>onclick="toTop('<%=item.activityId%>',1);"<%}else{%>onclick="toTop('<%=item.activityId%>',2);"<%}%>>
										<span style="padding-right:0;" class="glyphicon glyphicon-pushpin ulbtn"></span>&nbsp;&nbsp;<%if(item.isTop==2){%>取消<%}%>置顶
									</li>
								</ul>
							</div>
						</div>
						<div style="clear: both;"></div>
						<div class="cardImg">
							<%if(item.topicCover){%>
								<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.topicCover%>"/>
							<%}else{%>
								<img src="../../skin/img/empty-img.png" />
							<%}%>
							<div class="description">
								<span class="title"><%=item.activityContent%></span>
								<!-- <span class="num">2</span> -->
							</div>
						</div>
						</div>
						<div class="commentArea">
							<%if(item.isPraise==2){%>
								<span class="glyphicon glyphicon-thumbs-up" onclick="fabulous('<%=item.activityId%>',1,1)">&nbsp;点赞</span>
							<%}else{%>
								<span class="glyphicon glyphicon-thumbs-down" onclick="fabulous('<%=item.activityId%>',1,2)">&nbsp;取消点赞</span>
							<%}%>
							<span class="glyphicon glyphicon-comment"  onclick="showCardInfo('<%=item.activityId%>')">&nbsp;评论</span>
							<span  onclick="showCardInfo('<%=item.activityId%>')"><%=item.replyNum%>条评论</span>
						</div>
						<div class="commentListArea" style="height: inherit;cursor:pointer;"  onclick="showCardInfo('<%=item.activityId%>')">
							<%if(item.dtoList.length>0){%>
								<% _.each(item.dtoList,function(i,c){%>
									<div class="editUserName small">
										<%if(i.headPhoto){%>
											<img class="viewImg2" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.headPhoto%>"/>
										<%}else{%>
											<img class="viewImg2" src="../../skin/img/default_head.png" />
										<%}%>
									</div>
									<div class="userInfo">
										<span class="userName"><%=i.postUserName%></span>
										<span class="commentDate"><%=i.postTime%></span>
										<span class="commentInfo"><%=i.postContent%></span>
									</div>
								<%})%>
								<%if(item.replyNum>2){%>
									<div class="userInfo" style="text-align: center;">
										查看全部<%=item.replyNum%>条评论
									</div>
								<%}%>
							<%}else{%>
									<div class="editUserName small">
										<%if(loginHeadPhoto){%>
											<img class="viewImg2" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginHeadPhoto%>"/>
										<%}else{%>
											<img class="viewImg2" src="../../skin/img/default_head.png" />
										<%}%>
									</div>
								<div class="fillInComments">
									<div>
										添加第一条评论！
										<span class="glyphicon glyphicon-paperclip"></span>
									</div>
								</div>
							<%}%>
						</div>
					</div>
				<%}else{%>
					<div class="editInfoDiv_2">
						<div class="topCls" <%if(item.isTop!=2){%>style="display:none;"<%}%>><span class="glyphicon glyphicon-pushpin ulbtn"></span>置顶</div>
						<div onclick="showPostInfo('<%=item.activityId%>',1)" style="cursor:pointer;">
						<div class="editUserName">
							<%if(item.headPhoto){%>
								<img class="viewImg" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.headPhoto%>"/>
							<%}else{%>
								<img class="viewImg" src="../../skin/img/default_head.png" />
							<%}%>
						</div>
						<div class="userInfo">
							<span><%=item.createName%></span>
							<span class="cardType">
								<%if(item.createType==1){%>
										创建帖子
								<%}else if(item.createType==2){%>
										分享帖子
								<%}else if(item.createType==3){%>
										复制帖子
								<%}%>
							</span>
							<div class="st-xt dropdown ulbtn hideColumn" style="display: inline-block;">
								<div class="glyphicon glyphicon-option-vertical menu dropdown-toggle ulbtn" id="dropdownMenu1" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></div>
								<ul class="dropdown-menu st-more-ul ulbtn" aria-labelledby="dropdownMenu1">
									<li class="topicedit ulbtn" onclick="showPostInfo('<%=item.activityId%>',2)">
										<span style="padding-right:0;" class="glyphicon glyphicon-edit ulbtn" ></span>&nbsp;&nbsp;编辑
									</li>
									<li class="topicsave ulbtn" onclick="copyPost('<%=item.activityId%>')">
										<span style="padding-right:0;" class="glyphicon glyphicon-floppy-disk ulbtn"></span>&nbsp;&nbsp;复制
									</li>
									<li class="posttop ulbtn" <%if(item.isTop==2){%>onclick="toTop('<%=item.activityId%>',1);"<%}else{%>onclick="toTop('<%=item.activityId%>',2);"<%}%>>
										<span style="padding-right:0;" class="glyphicon glyphicon-pushpin ulbtn"></span>&nbsp;&nbsp;<%if(item.isTop==2){%>取消<%}%>置顶
									</li>
									<li class="postdelete ulbtn" onclick="deletePost('<%=item.activityId%>',2)">
										<span style="padding-right:0;" class="glyphicon glyphicon-trash ulbtn"></span>&nbsp;&nbsp;删除
									</li>
								</ul>
							</div>
							<span class="cardDate"><%=item.createDateStr%></span>
						</div>
						<div style="clear: both;"></div>
						<div class="cardDes">
							<%=item.activityContent%>
						</div>
						<div class="cardImg" style="height: auto;">
							<%if(item.attachextname=="jpg"||item.attachextname=="jpeg"||item.attachextname=="png"||item.attachextname=="gif"){%>
								<div class="st-imagebox">
									<!-- <button class="download" onclick="downloadFile('<%=item.topicCover%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button> -->
									<img style="width: 100%;" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.topicCover%>"/></a>
								</div>
							<%}else if(item.attachextname=="doc"||item.attachextname=="docx"){%>
								<div class="st-docbox" style="height: 100px;">
									<!-- <button class="download" onclick="downloadFile('<%=item.topicCover%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button> -->
									<div class="row st-docc" style="width: 490px;height: 100px;">
										<div class="col-md-4 st-doc1-1" style="height: 98px;width: 110px;">
										</div>
										<div class="col-md-6 st-doc2" style="width: 270px;">
											<%=item.attachname%>
										</div>
									</div>
								</div>
							<%}else if(item.attachextname=="xls"||item.attachextname=="xlsx"){%>
								<div class="st-docbox" style="height: 100px;">
									<!-- <button class="download" onclick="downloadFile('<%=item.topicCover%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button> -->
									<div class="row st-docc" style="width: 490px;height: 100px;">
										<div class="col-md-4 st-doc1-2" style="height: 98px;width: 110px;">
										</div>
										<div class="col-md-6 st-doc2" style="width: 270px;">
											<%=item.attachname%>
										</div>
									</div>
								</div>
							<%}else if(item.attachextname=="pdf"){%>
								<div class="st-docbox" style="height: 100px;">
									<!-- <button class="download" onclick="downloadFile('<%=item.topicCover%>')"><span class="glyphicon glyphicon-download-alt"></span>下载</button> -->
									<div class="row st-docc" style="width: 490px;height: 100px;">
										<div class="col-md-4 st-doc1-3" style="height: 98px;width: 110px;">
										</div>
										<div class="col-md-6 st-doc2" style="width: 270px;">
											<%=item.attachname%>
										</div>
									</div>
								</div>
							<%}else{%>
							<%}%>
						</div>
						</div>
						<div class="commentArea">
							<%if(item.isPraise==2){%>
								<span class="glyphicon glyphicon-thumbs-up" onclick="fabulous('<%=item.activityId%>',2,1)">&nbsp;点赞</span>
							<%}else{%>
								<span class="glyphicon glyphicon-thumbs-down" onclick="fabulous('<%=item.activityId%>',2,2)">&nbsp;取消点赞</span>
							<%}%>
							<span class="glyphicon glyphicon-comment" onclick="showPostInfo('<%=item.activityId%>',1)" style="cursor:pointer;">&nbsp;评论</span>
							<span onclick="showPostInfo('<%=item.activityId%>',1)" style="cursor:pointer;"><%=item.replyNum%>条评论</span>
						</div>
						<div class="commentListArea" onclick="showPostInfo('<%=item.activityId%>',1)" style="cursor:pointer;    height: inherit;">
							<%if(item.dtoList.length>0){%>
								<% _.each(item.dtoList,function(i,c){%>
									<div class="editUserName small">
										<%if(i.headPhoto){%>
											<img class="viewImg2" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=i.headPhoto%>"/>
										<%}else{%>
											<img class="viewImg2" src="../../skin/img/default_head.png" />
										<%}%>
									</div>
									<div class="userInfo">
										<span class="userName"><%=i.postUserName%></span>
										<span class="commentDate"><%=i.postTime%></span>
										<span class="commentInfo"><%=i.postContent%></span>
									</div>
								<%})%>
								<%if(item.replyNum>2){%>
									<div class="userInfo" style="text-align: center;">
										查看全部<%=item.replyNum%>条评论
									</div>
								<%}%>
							<%}else{%>
									<div class="editUserName small">
										<%if(loginHeadPhoto){%>
											<img class="viewImg2" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginHeadPhoto%>"/>
										<%}else{%>
											<img class="viewImg2" src="../../skin/img/default_head.png" />
										<%}%>
									</div>
								<div class="fillInComments">
									<div>
										添加第一条评论！
										<span class="glyphicon glyphicon-paperclip"></span>
									</div>
								</div>
							<%}%>
						</div>
					</div>
				<%}%>
			<%})%>
		</script>	
		<script type="text/template" id="groupInfoTpl">
			<div class="groupImg">
				<%if(groupCover){%>
					<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=groupCover%>"/>
				<%}else{%>
					<img src="../../skin/img/empty-img.png" />
				<%}%>
				<span class="glyphicon glyphicon-cog" style="margin-top: 50px; margin-right: 10px;"></span>
				<ul class="groupMenu">
					<li class="item">更新群组</li>
					<li class="item">设置群组</li>
					<li class="item">关于</li>
					<li class="item">删除群组</li>
				</ul>
			</div>
			<div class="groupTitle">
				<span><%=groupName%></span>
				<span><%=createDate%></span>
			</div>
		</script>
		<script type="text/template" id="editInfoDivTpl">
					<div class="editUserName">
						<%if(loginHeadPhoto){%>
							<img class="viewImg2" src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=loginHeadPhoto%>"/>
						<%}else{%>
							<img class="viewImg2" src="../../skin/img/default_head.png" />
						<%}%>
					</div>
					<form id="uploadPostForm" method="post" enctype="multipart/form-data">
						 <input type="file" id="postFile" name="file" onchange ="commoncheckfile(this,'uploadPostForm',uploadPostFile,'.png,.jpg,.gif,.jpeg,.doc,.docx,.xls,.xlsx,.pdf',50)" style="display:none;">
					</form>
					<input type="hidden" id="postCover" name="postCover"/>
					<div contenteditable="true" class="editText" id="editText"></div>
					<div contenteditable="true" class="picPostView" id="picPostView"></div>
					<div style="clear: both;"></div>
					<div class="btnArea">
						<span id="shangChuanA" class="glyphicon glyphicon-paperclip attach" onclick="uploadPostBtn()"></span>
						<span id="shangChuanB" class="attachInfo" onclick="uploadPostBtn()">附件</span>
						<span class="cancelBtn disabled" onclick="yichu()">取消</span>
						<span class="postBtn disabled" onclick="postBtn(2)">确定</span>
					</div>
					<span id="picPostView2" style="margin-left: 205px;font-size: 15px;"></span>
		</script>
		<!-- /.modal -->
		<!-- 复制post（Modal） -->
		<div class="modal fade copyModal" id="copyPostModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
	            	<div class="col-sm-6 left-content">
	            		<div>
	            			<h3 class="title"></h3>
	            		</div>
	            		<div class="topicInfo">
	            			<div class="topicImg"></div>
	            			<div class="titleDiv">
	            				<span class="topicTitle"></span>
	            				<span class="glyphicon glyphicon-pencil updateTitleBtn" title="修改标题" onclick="toUpdatePostTitle(this)"></span>
	            			</div>
	            		</div>
	            	</div>
	            	<div class="col-sm-6 right-content">
	            		<div class="right-content-list">
		            		<div class="right-top col-sm-12">你想复制到哪里?</div>
		            		<div class="right-search col-sm-12">
		            			<div class="right-search-input">
			            			<input type="text" id="copyQueryPostName"/><span class="glyphicon glyphicon-search input-search"></span>
		            			</div>
		            		</div>
		            		<div class="right-list col-sm-12">
		            			<ul class="list" id="groupPostlist">
							    </ul>
		            		</div>
		            		<div class="modal-footer">
		            			<div class="cancel">
		                			<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		            			</div>
		            		</div>
		            	</div>
		            	<div style="clear:both;"></div>
		            	<div class="right-content-edit">
		            		<div class="right-top col-sm-12">你想复制到哪里?</div>
		            		<div class="right-search col-sm-12">
		            			<div class="right-search-input">
			            			<input type="text" id="queryTopicPostName"/><span class="glyphicon glyphicon-search input-search"></span>
		            			</div>
		            		</div>
		            		<div class="right-list col-sm-12">
		            			<ul class="list" id="topicPostlist">
							    </ul>
		            		</div>
		            		<div class="modal-footer copy-card">
		            			<div class="share-btn" style="height:30px;">
		            				<span class="glyphicon glyphicon-menu-left arrow"></span>
		            			</div>
		            		</div>
		            		<div class="modal-footer move-card" style="display:none;">
		            			<div class="cancel">
		                			<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		            			</div>
		            		</div>	
		            	</div>
	            	</div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- 群组list -->
		<script type="text/template" id="groupTpl">
			<%if(resultList.length==0){%>
				<li class="no-data">暂无数据！</li>
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
								<li class="list-item <%if(item.hasRole==0){%>is-disable<%}%>">
							    	<div class="item-content">
							        	<div class="item-img">
				                    	<%if(item.groupCover){%>
											<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.groupCover%>"/>
										<%}else{%>
											<img src="../../skin/img/empty-img.png" />
										<%}%>
							        	</div>
						                <div class="item-title"><%=item.groupName%></div>
					          			<div class="item-btn"><span class="glyphicon glyphicon-menu-right arrow" <%if(item.hasRole!=0){%>onclick="postTopicList('<%=item.groupId%>')"<%}%>></span></div>
						                <div style="clear:both;"></div>
					                </div>
							    </li>
				<%})%>
			<%}%>
		</script>
				<!-- 复制post主题list -->
		<script type="text/template" id="postGroupTpl">
			<%if(resultList.length==0){%>
				<li class="no-data">暂无数据！</li>
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
								<li class="list-item <%if(item.flag){%>is-disable<%}%>"" >
							    	<div class="item-content">
							        	<div class="item-img">
				                    	<%if(item.topicCover){%>
											<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.topicCover%>"/>
										<%}else{%>
											<img src="../../skin/img/empty-img.png" />
										<%}%>
							        	</div>
						                 <div class="item-title"><%=item.topicTitle%></div>
					          			<div class="item-btn"><span class="saveBtn" onclick="saveCopyPost('<%=item.topicId%>')"><span class="glyphicon glyphicon-plus"></span>保存</span></div>
						                <div style="clear:both;"></div>
					                </div>
							    </li>
				<%})%>
			<%}%>
		</script>
		<!-- 复制card（Modal） -->
		<div class="modal fade copyModal" id="copyCardModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
	            	<div class="col-sm-6 left-content">
	            		<div>
	            			<h3 class="title"></h3>
	            		</div>
	            		<div class="topicInfo">
	            			<div class="topicImg">
	            			</div>
	            			<div class="titleDiv">
	            				<span class="topicTitle"></span>
	            				<span class="glyphicon glyphicon-pencil updateTitleBtn" title="修改标题" onclick="toUpdateTitle(this)"></span>
	            			</div>
	            		</div>
	            	</div>
	            	<div class="col-sm-6 right-content">
	            		<div class="right-content-list">
		            		<div class="right-top col-sm-12">Where do you want to save a copy?</div>
		            		<div class="right-search col-sm-12">
		            			<div class="right-search-input">
			            			<input type="text" id="copyCardQueryName"/><span class="glyphicon glyphicon-search input-search"></span>
		            			</div>
		            		</div>
		            		<div class="right-list col-sm-12">
		            			<ul class="list" id="cardGrouplist">
								   <!--  <li class="list-item">
								    	<div class="item-content">
								        	<div class="item-img">
					                    		<img src="../../skin/img/empty-img.png" />
								        	</div>
							                <div class="item-title">标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题</div>
							                <div class="item-btn"><span class="saveBtn"><span class="glyphicon glyphicon-plus"></span>保存</span></div>
							                <div style="clear:both;"></div>
						                </div>
								    </li> -->
							    </ul>
		            		</div>
		            		<div class="modal-footer">
		            			<div class="cancel">
		                			<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		            			</div>
		            		</div>
		            	</div>
		            	<div style="clear:both;"></div>
		            	<div class="right-content-edit">
		            		<div class="right-top col-sm-12">Where do you want to save a copy?</div>
		            		<div class="right-search col-sm-12">
		            			<div class="right-search-input">
			            			<input type="text" id="queryTopicName"/><span class="glyphicon glyphicon-search input-search"></span>
		            			</div>
		            		</div>
		            		<div class="right-list col-sm-12">
		            			<ul class="list" id="cardTopicList">
							    </ul>
		            		</div>
		            		<div class="modal-footer copy-card">
		            			<div class="share-btn" style="height:30px;">
		            				<span class="glyphicon glyphicon-menu-left arrow"></span>
		            			</div>
		            		</div>
		            		<div class="modal-footer move-card" style="display:none;">
		            			<div class="cancel">
		                			<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		            			</div>
		            		</div>	
		            	</div>
	            	</div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- 复制card（Modal）结束 -->
		<!-- 复制card群组list -->
		<script type="text/template" id="shareCardGroupTpl">
			<%if(resultList.length==0){%>
				<li class="no-data">暂无数据！</li>
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
								<li class="list-item <%if(item.hasRole==0){%>is-disable<%}%>">
							    	<div class="item-content">
							        	<div class="item-img">
				                    	<%if(item.groupCover){%>
											<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.groupCover%>"/>
										<%}else{%>
											<img src="../../skin/img/empty-img.png" />
										<%}%>
							        	</div>
						                <div class="item-title"><%=item.groupName%></div>
					          			<div class="item-btn"><span class="glyphicon glyphicon-menu-right arrow" <%if(item.hasRole!=0){%>onclick="cardTopicList('<%=item.groupId%>')"<%}%>></span></div>
						                <div style="clear:both;"></div>
					                </div>
							    </li>
				<%})%>
			<%}%>
		</script>
		<!-- 复制card主题list -->
		<script type="text/template" id="cardGroupTpl">
			<%if(resultList.length==0){%>
				<li class="no-data">暂无数据！</li>
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
								<li class="list-item <%if(item.flag){%>is-disable<%}%>"" >
							    	<div class="item-content">
							        	<div class="item-img">
				                    	<%if(item.topicCover){%>
											<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.topicCover%>"/>
										<%}else{%>
											<img src="../../skin/img/empty-img.png" />
										<%}%>
							        	</div>
						                 <div class="item-title"><%=item.topicTitle%></div>
					          			<div class="item-btn"><span class="saveBtn" <%if(moveflag){if(!item.flag){%>onclick="saveMoveCard('<%=item.topicId%>')"<%}}else{%>onclick="saveCopyCard('<%=item.topicId%>')"<%}%>><span class="glyphicon glyphicon-plus"></span>保存</span></div>
						                <div style="clear:both;"></div>
					                </div>
							    </li>
				<%})%>
			<%}%>
		</script>
		<!-- 回复内容不能为空！（Modal） -->
		<div class="modal fade" id="notNullModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg">回复内容不能为空！</div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-primary confirm" data-dismiss="modal">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		<!-- 回复内容不得超过100个字！（Modal） -->
		<div class="modal fade" id="notMaxModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg">回复内容不得超过100个字！</div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-primary confirm" data-dismiss="modal">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		<!-- 回复内容不得包含特殊字符！（Modal） -->
		<div class="modal fade" id="notTeShuModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg">回复内容不得包含特殊字符！</div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-primary confirm" data-dismiss="modal">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		<!-- 删除card（Modal） -->
		<div class="modal fade" id="delCardModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg">确定要删除当前的卡片吗？</div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		                <button type="button" class="btn btn-primary confirm" onclick="delCard()">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		
		
		
		<!-- 群组设置开始 -->
		<!-- 提示框 -->
		<div class="modal fade" id="groupMsgModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg">确定要删除当前群组吗？</div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		                <button type="button" class="btn btn-primary confirm" data-dismiss="modal" onclick="deleteGroup()">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!--
        	创建第二步模态框
        -->
        <div class="modal fade" id="groupInfoModal" tabindex="-1" role="dialog" aria-labelledby="groupInfoModalLabel" aria-hidden="true" data-backdrop="static">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-body" style="padding: 10px 15px;">
		      	<form id="uploadGroupForm" method="post" enctype="multipart/form-data">
					<input type="file" id="groupfile" name="file" accept="image/*" onchange ="commoncheckfile(this,'uploadGroupForm',uploadGroupFile,'.png,.jpg,.gif',2)" style="display:none;">
				</form>
		        <div class="groupUpdateImg">
		        	<span class="glyphicon glyphicon-camera uploadBtn"></span>
		        </div>
		        <form id="updateGroupInfo">
		        <div style="height:293px;">
		        <div class="groupUpdateTitle">群组名称</div>
		        <!-- <div contenteditable="true" class="editText groupName" id="groupName"></div> -->
		        <input type="text" maxlength="200" class="groupName" id="groupName" name="groupName"/><span class="error-msg"></span>
		        <div class="groupUpdateTitle">关于组</div>
		        <!-- <div contenteditable="true" class="editText groupDes" id="groupDes"></div> -->
		        <textarea class="editText groupDes" id="groupDes" maxlength="200"></textarea>
		        <input type="hidden" name="ORCHID_WEB_TOKEN"/>
          		<input type="hidden" name="groupCover"/>
          		<input type="hidden" name="groupId"/>
          		<input type="hidden" name="aboutGroup"/>
          		</div>
          		</form>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		        <button type="button" class="btn btn-primary" onclick="updateGroupInfo()">保存</button>
		      </div>
		    </div>
		  </div>
		</div>
		<!--
        	配置组
        -->
        <form id="groupForm">
        <div class="modal fade" id="groupConfModal" tabindex="-1" role="dialog" aria-labelledby="groupConfModalLabel" aria-hidden="true" data-backdrop="static">
          <input type="hidden" name="ORCHID_WEB_TOKEN"/>
          <input type="hidden" name="groupId"/>
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <h4 class="modal-title" id="myModalLabel">设置组</h4>
		      </div>
		      <div class="modal-body group-modal-body" style="padding: 0;">
		        <!-- <div class="confTile">为新成员选择默认角色</div>
		        <div class="roleChange">
		        	<label><input name="defaultRole" type="radio" value="2" />&nbsp;评论者 </label> 
		        	<div class="fDiv commenterRole">新成员可以查看，评论，分享，保存，下载，查看人，创建帖子。</div>
		        	<label><input name="defaultRole" type="radio" value="1" checked/>&nbsp;人员 </label> 
		        	<div class="editorRole">新成员可以查看，评论，编辑，创建，删除，移动，分享，保存，下载，查看人，创建帖子。</div>
		        </div> -->
		        <div class="confTile">定义角色权限</div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-share-alt">分享、&nbsp;</span>
		        	<span class="glyphicon glyphicon-floppy-disk">保存、&nbsp;</span>
		        	<span class="glyphicon glyphicon-download-alt">下载</span>
		        	<div>选择谁可以将主题和卡片保存到自己的个人空间中或将其分享到另一个组。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_1">所有人</span>
						<span class="js_sel_1Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_1List ">
							<li class="item">仅自己</li>
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="sharesavedownload" value="4"/>
						<span class="dropdown-toggle" id="dropdownList1" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_1 itemName">所有人</span>
							<span class="js_sel_1Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_1List" aria-labelledby="dropdownList1">
							<li class="item" value="1">仅自己</li>
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-user">人员</span>
		        	<div>选择谁可以查看组中的其他成员。 管理员将始终能够查看该组的成员。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_2">所有人</span>
						<span class="js_sel_2Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_2List">
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="people" value="4"/>
						<span class="dropdown-toggle" id="dropdownList2" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_2 itemName">所有人</span>
							<span class="js_sel_2Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_2List" aria-labelledby="dropdownList2">
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-screenshot">邀请</span>
		        	<div>选择谁可以邀请其他人进入群组。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_3">所有人</span>
						<span class="js_sel_3Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_3List">
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="invite" value="4"/>
						<span class="dropdown-toggle" id="dropdownList3" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_3 itemName">所有人</span>
							<span class="js_sel_3Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_3List" aria-labelledby="dropdownList3">
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-list-alt">帖子</span>
		        	<div>选择谁可以在组中创建帖子。 本组所有成员均可进行查看。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_4">所有人</span>
						<span class="js_sel_4Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_4List">
							<li class="item">仅自己</li>
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="posts" value="4"/>
						<span class="dropdown-toggle" id="dropdownList4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_4 itemName">所有人</span>
							<span class="js_sel_4Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_4List" aria-labelledby="dropdownList4">
							<li class="item" value="1">仅自己</li>
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <!-- <div class="rolePer">
		        	<span class="glyphicon glyphicon-equalizer">分析</span>
		        	<div>选择谁能看到群组的分析。</div>
		        	<span class="sortItem">
						<input class="roleItem" type="hidden" name="analytics" value="4"/>
						<span class="dropdown-toggle" id="dropdownList5" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_5 itemName">所有人</span>
						<span class="js_sel_5Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_5List" aria-labelledby="dropdownList5">
							<li class="item" value="1">仅自己</li>
							<li class="item" value="2">管理员和自己</li>
							<li class="item" value="3">编辑、管理员和自己</li>
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span >@其他人</span>
		        	<div>成员可以在组内@其他人。</div>
		        	<span class="sortItem">
						<input class="roleItem" type="hidden" name="mention" value="4"/>
						<span class="dropdown-toggle" id="dropdownList6" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_6 itemName">所有人</span>
							<span class="js_sel_6Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_6List" aria-labelledby="dropdownList6">
							<li class="item" value="1">仅自己</li>
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<div>成员可以使用@Group来提及整个组。</div>
		        	<span class="sortItem">
						<input class="roleItem" type="hidden" name="mentiongroup" value="4"/>
						<span class="dropdown-toggle" id="dropdownList7" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_7 itemName">所有人</span>
							<span class="js_sel_7Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_7List" aria-labelledby="dropdownList7">
							<li class="item" value="1">仅自己</li>
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div> -->
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		        <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="updateGroupSetting()">保存</button>
		      </div>
		    </div>
		  </div>
		</div>
		</form>
		
		
		<!--
        	关于
        -->
        <div class="modal fade" id="aboutGroupModal" tabindex="-1" role="dialog" aria-labelledby="aboutGroupModalLabel" aria-hidden="true" data-backdrop="static">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-body" style="padding: 0">
		      	<div style="padding:10px 15px;">
		      	<div><h3 style="display:inline-block;">关于组</h3><span class="glyphicon glyphicon-remove" style="float:right;cursor:pointer" data-dismiss="modal"></span></div>
		      	<div style="font-size: 14px;min-height: 24px;color:#7d7d7d" class="aboutGroupInfo">这个组还没有描述。</div>
		      	<div style="font-size: 17px;min-height: 28px;" class="GroupCreateInfo"></div>
		      	<div style="font-size: 17px;min-height: 28px;" class="GroupRoleInfo"></div>
		      	<div style="font-size: 17px;min-height: 28px;" class="currentRoleInfo"></div>
		      	</div>
		      	<div style="background-color:#cdcdcd;font-size:16px;line-height:25px;padding-left:15px;">组中角色介绍</div>
		        <div class="roleChange">
		        	<!-- <div class="selectRoleItem">
			        	<label>&nbsp;评论者
			        	<div class="commenter"></div>
			        	 </label>
		        	</div> -->
		        	<div class="selectRoleItem">
			        	<label>&nbsp;人员  
			        	<div class="editor"></div>
			        	</label>
		        	</div>
		        	<!-- <div class="selectRoleItem">
			        	<label>&nbsp;观看者  
			        	<div class="viewer"></div>
			        	</label>
		        	</div> -->
		        	<div class="selectRoleItem">
			        	<label>&nbsp;管理者
			        	<div class="admin"></div>
			        	</label>
		        	</div>
		        	<div class="selectRoleItem">
			        	<label>&nbsp;创建者
			        	<div class="creater"></div>
			        	</label>
		        	</div>
		        </div>
		      </div>
		    </div>
		  </div>
		</div>
		<!-- 群组设置结束 -->
	</body>
</html>